package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 资产报废申请对象 sys_asset_scrap
 * 
 * @author sxy
 * @date 2025-04-02
 */
public class SysAssetScrap extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报废ID */
    private Long scrapId;

    /** 资产ID */
    @Excel(name = "资产ID")
    private Long assetId;

    /** 资产编号 */
    @Excel(name = "资产编号")
    private String assetNo;

    /** 申请人ID */
    @Excel(name = "申请人ID")
    private Long applicantId;

    /** 申请报废原因 */
    @Excel(name = "申请报废原因")
    private String scrapReason;

    /** 审批人ID */
    @Excel(name = "审批人ID")
    private Long reviewerId;

    public String getAssetNo() {
        return assetNo;
    }

    public void setAssetNo(String assetNo) {
        this.assetNo = assetNo;
    }

    /** 审批状态 */
    @Excel(name = "审批状态")
    private String reviewStatus;

    /** 驳回原因 */
    @Excel(name = "驳回原因")
    private String overruleReason;

    public void setScrapId(Long scrapId) 
    {
        this.scrapId = scrapId;
    }

    public Long getScrapId() 
    {
        return scrapId;
    }
    public void setAssetId(Long assetId) 
    {
        this.assetId = assetId;
    }

    public Long getAssetId() 
    {
        return assetId;
    }
    public void setApplicantId(Long applicantId) 
    {
        this.applicantId = applicantId;
    }

    public Long getApplicantId() 
    {
        return applicantId;
    }
    public void setScrapReason(String scrapReason) 
    {
        this.scrapReason = scrapReason;
    }

    public String getScrapReason() 
    {
        return scrapReason;
    }
    public void setReviewerId(Long reviewerId) 
    {
        this.reviewerId = reviewerId;
    }

    public Long getReviewerId() 
    {
        return reviewerId;
    }
    public void setReviewStatus(String reviewStatus) 
    {
        this.reviewStatus = reviewStatus;
    }

    public String getReviewStatus() 
    {
        return reviewStatus;
    }
    public void setOverruleReason(String overruleReason) 
    {
        this.overruleReason = overruleReason;
    }

    public String getOverruleReason() 
    {
        return overruleReason;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("scrapId", getScrapId())
            .append("assetId", getAssetId())
                .append("assetNo", getAssetNo())
            .append("applicantId", getApplicantId())
            .append("scrapReason", getScrapReason())
            .append("reviewerId", getReviewerId())
            .append("reviewStatus", getReviewStatus())
            .append("overruleReason", getOverruleReason())
            .append("createTime", getCreateTime())
            .toString();
    }
}
